<template>
    <div id="app">
        <router-view />
    </div>
</template>

<script>
import {getYear,getQuarter,getMonth,getWeek,getDay} from './api/getEcharsData'
export default {
	name: 'App',
	data(){
		return{
			capacityData: [], //饼图产能
      capacityList: {}, //产能柱形折线图
      capacityTable: [], //产能记录table
      outputValueData: [], // 饼图产值
      outputValueList: {}, //产值柱形折线图,
      outputTable:[], //产值记录table
      over: false, //移出false，移入true
      timeOut: false,//定时器执行完了 true没有执行完false
		}
	},
	created(){
	},
	methods:{
	
	}
}
</script>

<style lang="scss">
#app{
//    background: #000d4a url("./assets/img/bg.jpg") no-repeat center top;
}
[aspectratio] {
  position: relative;
}
[aspectratio]::before {
  content: '';
  display: block;
  width: 1px;
  margin-left: -1px;
  height: 0;
}
 
[aspectratio-content] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
/*vm兼容处理使用Viewport Units Buggyfill造成的副作用，需要如下设置img*/
img {
  content: normal !important;
}


.slide-left-enter {
    transform: translateX(-100%);
}

.slide-left-enter-active {
    transition: transform .2s;
}

.slide-left-enter-to {
    transform: translateX(0);
}

.slide-left-leave {
    transform: translateX(0);
}

.slide-left-leave-active {
    transition: transform .5s
}

.slide-left-leave-to {
    transform: translateX(-100%);
}



.slide-right-enter {
    transform: translateX(100%);
}

.slide-right-enter-active {
    transition: transform .2s;
}

.slide-right-enter-to {
    transform: translateX(0);
}

.slide-right-leave {
    transform: translateX(0);
}

.slide-right-leave-active {
    transition: transform .5s;
}

.slide-right-leave-to {
    transform: translateX(100%);
}
</style>
